package com.ta.gulimall.common.utils;

import com.ta.gulimall.common.utils.system.R;

public class CaptureException {

    public static void taThrow(R r){
        if (!r.getCode().equals("0")) {
            throw new RuntimeException(r.getMsg());
        }
    }
}
